package com.group.eams.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group.eams.pojo.dto.InventoryTaskQueryDto;
import com.group.eams.pojo.entity.InventoryTask;
import com.group.eams.pojo.vo.InventoryTaskListVo;
import org.apache.ibatis.annotations.Param;

/**
* @author 恩哲欣
* @description 针对表【inventory_task(盘点任务)】的数据库操作Mapper
* @createDate 2024-10-29 16:09:34
* @Entity com.group.eams.pojo.entity.InventoryTask
*/
public interface InventoryTaskMapper extends BaseMapper<InventoryTask> {

    /**
     * 分页条件查询
     * @param page 分页条件
     * @param inventoryTaskQueryDto 查询条件
     * @return 页数数据+总记录数
     */
    Page<InventoryTaskListVo> findInventoryTaskByPage(Page<InventoryTask> page,
                                                      @Param("inventoryTaskQueryDto") InventoryTaskQueryDto inventoryTaskQueryDto);

}
